$(window).load(function () {
        var interleaveOffset = 1;
        //首页大banner
        var swiper = new Swiper('#Banner',{
            effect: 'fade',
            slideActiveClass: 'active',
            speed: 1200,
            watchSlidesProgress: true,
            autoplay : {
                delay:5500,
				stopOnLastSlide: false,
                disableOnInteraction: false,
            },
            pagination: {
                el: '.swiper-pagination',
                clickable: true,
                renderBullet: function (index, className) {
                return '<span class="' + className + '"> <div class="wrapper_con right">\n' +
          '            <div class="circleProgress rightcircle"></div>\n' +
          '        </div>\n' +
          '        <div class="wrapper_con left">\n' +
          '            <div class="circleProgress leftcircle"></div>\n' +
          '        </div><div class="f-14">' + '0' + (index + 1) + '</div></span>';
            },
            },
            navigation: {
                nextEl: ".swiper-button-next",
                prevEl: ".swiper-button-prev"
            },
        });
    })
//产品中心
$(document).ready(function() {
	var ztswiper = new Swiper('#products .swiper-container', {
		autoplay: {
			delay: 5000,
			stopOnLastSlide: false,
			disableOnInteraction: true,
		},
		observer: true,
		observeParents: true,
		speed: 1800,
		loop: true,
		pagination: {
			el: '#products .swiper-pagination',
			clickable: true,
		},
		slidesPerView: 4,
		spaceBetween: 30,
		slidesPerGroup: 4,
		breakpoints: {
			//当宽度小于等于480
			480 : {
				slidesPerView: 2,
				spaceBetween: 10,
				slidesPerGroup: 2
			},
			//当宽度小于等于980
			980 : {
				slidesPerView: 2,
				spaceBetween: 20,
				slidesPerGroup: 2
			},
			//当宽度小于等于1200
			1200 : {
				slidesPerView: 3,
				spaceBetween: 20,
				slidesPerGroup: 3
			}
		},
	});

})
//质量控制
$(document).ready(function() {
	var ztswiper = new Swiper('#quality .swiper-container', {
		autoplay: {
			delay: 5000,
			stopOnLastSlide: false,
			disableOnInteraction: true,
		},
		observer: true,
		observeParents: true,
		speed: 300,
		loop: true,
		pagination: {
			el: '#quality .swiper-pagination',
			clickable: true,
		},
	});

})